 package com.lj.mcore.entity;


 import com.lj.mcore.domain.IdEntity;
 import jakarta.persistence.Entity;
 import jakarta.persistence.FetchType;
 import jakarta.persistence.OneToOne;
 import jakarta.persistence.Table;

 @Entity
 @Table(name="shopping_userconfig")
 public class UserConfig extends IdEntity
 {
 
   @OneToOne(fetch= FetchType.LAZY)
   private User user;

     public User getUser() {
         return user;
     }

     public void setUser(User user) {
         this.user = user;
     }
 }



 
 